package eScrum.services;

import java.util.List;

import eScrum.entities.User;
import eScrum.entities.UserSearchCriteria;

public interface UserService {

	public User saveOrUpdate(User u);

	public User findUserByUserName(String username);

	public List<User> findAll();

	public boolean signIn(String username, String password);

	public void deleteUser(String id);

	public User findById(long id);

	public List<User> findUsersByRange(int first, int count,
			UserSearchCriteria userSearchCriteria);

	public long userSize(UserSearchCriteria userSearchCriteria);

}
